Einhugur Color Management Plugin for Objo

Einhugur.ColorManagement.ICCColorProfile.FromBytes Method

Creates instance of the ICCColorProfile class from a MemoryBlock that contains valid ICCColorProfile data.

shared FromBytes(
   data as MemoryBlock,
   startOffset as Integer,
   length as Integer) as Einhugur.ColorManagement.ICCColorProfile

Parameters

data
The MemoryBlock containing ICCColorProfile data.
startOffset
The starting offset within the MemoryBlock (zero based).
length
The length of the profile in bytes.

Returns

Einhugur.ColorManagement.ICCColorProfile
The instance of the ICCColorProfile or nothing if Error was detected. (Note in some cases error would not be detected if you feed trash MemoryBlock to it)

Remarks

See Also

Einhugur.ColorManagement.ICCColorProfile Class